package com.dlnu.sujiwords.domain.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Role {
    /*角色id*/
    private byte rid;
    /*角色名称*/
    private String roleName;
    /*角色描述*/
    private String roleDes;

    public Role(String roleName, String roleDes) {
        this.roleName = roleName;
        this.roleDes = roleDes;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRoleDes() {
        return roleDes;
    }

    public void setRoleDes(String roleDes) {
        this.roleDes = roleDes;
    }

    public byte getRid() {
        return rid;
    }

    public void setRid(byte rid) {
        this.rid = rid;
    }
}